package com.github.prontera.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.github.prontera.model.BasicDomain;

import lombok.EqualsAndHashCode;
import lombok.ToString;

@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class SysDict extends BasicDomain {

	private static final long serialVersionUID = -1288891508177236744L;

	/**
	 * 
	 */
	private String parentId;
	/**
	 * 
	 */
	private String lable;
	/**
	 * 
	 */
	private Integer sort;
	/**
	 * 
	 */
	private String type;
	/**
	 * 
	 */
	private BigDecimal value;
	/**
	 * 0:正常,1:禁用
	 */
	private String status;
	/**
	 * 大分组
	 */
	private String bigGroupType;
	/**
	 * 
	 */
	private String groupType;
	/**
	 * 
	 */
	private String desc;

	private String parentNaame;

	private String parentLable;

	private String parentType;
	
	/**
	 * 是否是默认值
	 */
	private Integer hasDefault=2;
	/**
	 * 值类型  1:单选,2:多选,3:输入
	 */
	private Integer valueType;
	
	
	private String icon;
	
	
	public SysDict() {
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Integer getValueType() {
		return valueType;
	}

	public void setValueType(Integer valueType) {
		this.valueType = valueType;
	}

	public Integer getHasDefault() {
		return hasDefault;
	}

	public void setHasDefault(Integer hasDefault) {
		this.hasDefault = hasDefault;
	}

	public String getGroupType() {
		return groupType;
	}

	public void setGroupType(String groupType) {
		this.groupType = groupType;
	}

	public String getParentLable() {
		return parentLable;
	}

	public void setParentLable(String parentLable) {
		this.parentLable = parentLable;
	}

	public String getParentType() {
		return parentType;
	}

	public void setParentType(String parentType) {
		this.parentType = parentType;
	}

	public String getParentNaame() {
		return parentNaame;
	}

	public void setParentNaame(String parentNaame) {
		this.parentNaame = parentNaame;
	}

	public String getParentId() {
		return this.parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getLable() {
		return this.lable;
	}

	public void setLable(String lable) {
		this.lable = lable;
	}

	public Integer getSort() {
		return this.sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public BigDecimal getValue() {
		return this.value;
	}

	public void setValue(BigDecimal value) {
		this.value = value;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getDesc() {
		return this.desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getBigGroupType() {
		return bigGroupType;
	}

	public void setBigGroupType(String bigGroupType) {
		this.bigGroupType = bigGroupType;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}